package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.FamilyInformation;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface FamilyInformationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(FamilyInformation record);

    FamilyInformation selectByPrimaryKey(Long id);

    List<FamilyInformation> selectAll();

    int updateByPrimaryKey(FamilyInformation record);

    List<FamilyInformation> selectByEmployeeId(Long empId);

    int query4Count(QueryObject qo);

    List<FamilyInformation> query4List(QueryObject qo);
}